﻿namespace VkcomAPI.PublicTypes
{
    public class TokenAndID
    {
        readonly private string access_token;
        readonly private string userId;

        public string AccessToken { get { return access_token; } }
        public string UserID { get { return userId; } }

        public TokenAndID(string access_token, string userId)
        {
            this.access_token = access_token;
            this.userId = userId;
        }

        public override string ToString()
        {
            return string.Format("ID = {0}, TOKEN = {1}", userId, access_token);
        }
    }
}
